import mongoose from '../dbHelper';
import { defaultSchemaExtend, defaultSchemaOptions } from "../config/index";

const Schema = mongoose.Schema;

const ProductAddLogSchema = new Schema(Object.assign({
    shopId: String | Number,
    productId: String,
    fatherPid: String
}, defaultSchemaExtend), defaultSchemaOptions);

const ProductAddLog = mongoose.model('productAddLog', ProductAddLogSchema, 'productAddLogs');

export default ProductAddLog